package com.dxysun.design.strategy;

public class Context
{
	private IStrategy iStrategy;

	public Context(IStrategy iStrategy)
	{
		this.iStrategy = iStrategy;
	}

	void algorithm(String str)
	{
		iStrategy.algorithm(str);
	}
}
